package com.bhs.sansonglogistics.bean;

import android.os.Parcel;
import android.os.Parcelable;

import androidx.annotation.NonNull;

import com.bhs.sansonglogistics.base.BaseBean;

import java.io.Serializable;

public class OrderGoodsBean implements Parcelable {

    private int id;
    private String unid;
    private int logistics_id;
    private int daoda_logistics_id;
    private String deliver_sn;
    private String waybill_sn;
    private int status;
    private int line_id;
    private String pickup_city;
    private String receive_city;
    private int order_type;
    private int jiaohuo_type;
    private int peisong_type;
    private int receipt_type;
    private int deliver_type;
    private int price_type;
    private int quoted_status;
    private String pay_sn;
    private int pay_type;
    private int pay_status;
    private int is_show;
    private int is_yuyue;
    private int yuyue_time;
    private int is_invoice;
    private String last_price;
    private String pay_to_logistics_money;
    private int create_time;
    private int update_time;
    private Object arrival_time;
    private Object pay_time;
    private String pickup_province;
    private String pickup_county;
    private String pickup_address;
    private String pickup_remark;
    private String pickup_truename;
    private String pickup_mobile;
    private String pickup_latitude;
    private String pickup_longitude;
    private String receive_province;
    private String receive_county;
    private String receive_address;
    private String receive_remark;
    private String receive_truename;
    private String receive_mobile;
    private String receive_latitude;
    private String receive_longitude;
    private int outlets_id;
    private Object outlets_name;
    private Object outlets_province;
    private Object outlets_city;
    private Object outlets_county;
    private Object outlets_address;
    private Object outlets_contact;
    private Object outlets_moble;
    private String remark;
    private Object refuse_notice;
    private String goods_name;
    private Object goods_remark;
    private int goods_number;
    private String goods_weight;
    private String goods_volume;
    private String goods_value_price;
    private String pack_name;
    private Object pack_remark;
    private String pack_is_special;
    private String pack_imgs;
    private String pack_long;
    private String pack_width;
    private String pack_height;
    private String status_msg;
    private boolean isChecked;
    private boolean isCurrent;
    private String quoted_price;
    private int quoted_create_time;
    private String cargo_mobile;
    private int transport_day_min;
    private int transport_day_max;
    private int cancel_status;
    private int quoted_time;
    private String no_pay_total;
    private String self_pickup_code;
    private int pay_method;
    private CancelInfoDTO cancel_info;

    public String getPay_to_logistics_money() {
        return pay_to_logistics_money;
    }

    public void setPay_to_logistics_money(String pay_to_logistics_money) {
        this.pay_to_logistics_money = pay_to_logistics_money;
    }

    public CancelInfoDTO getCancel_info() {
        return cancel_info;
    }

    public void setCancel_info(CancelInfoDTO cancel_info) {
        this.cancel_info = cancel_info;
    }

    public static class CancelInfoDTO {
        private int cancel_id;
        private String deliver_sn;
        private String unid;
        private String cancel_reason;
        private int apply_status;
        private int create_time;
        private Object update_time;

        public int getCancel_id() {
            return cancel_id;
        }

        public void setCancel_id(int cancel_id) {
            this.cancel_id = cancel_id;
        }

        public String getDeliver_sn() {
            return deliver_sn;
        }

        public void setDeliver_sn(String deliver_sn) {
            this.deliver_sn = deliver_sn;
        }

        public String getUnid() {
            return unid;
        }

        public void setUnid(String unid) {
            this.unid = unid;
        }

        public String getCancel_reason() {
            return cancel_reason;
        }

        public void setCancel_reason(String cancel_reason) {
            this.cancel_reason = cancel_reason;
        }

        public int getApply_status() {
            return apply_status;
        }

        public void setApply_status(int apply_status) {
            this.apply_status = apply_status;
        }

        public int getCreate_time() {
            return create_time;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }

        public Object getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(Object update_time) {
            this.update_time = update_time;
        }
    }

    public int getPay_method() {
        return pay_method;
    }

    public void setPay_method(int pay_method) {
        this.pay_method = pay_method;
    }

    public String getSelf_pickup_code() {
        return self_pickup_code;
    }

    public void setSelf_pickup_code(String self_pickup_code) {
        this.self_pickup_code = self_pickup_code;
    }

    public String getNo_pay_total() {
        return no_pay_total;
    }

    public void setNo_pay_total(String no_pay_total) {
        this.no_pay_total = no_pay_total;
    }

    public int getQuoted_time() {
        return quoted_time;
    }

    public void setQuoted_time(int quoted_time) {
        this.quoted_time = quoted_time;
    }

    public int getCancel_status() {
        return cancel_status;
    }

    public void setCancel_status(int cancel_status) {
        this.cancel_status = cancel_status;
    }

    public int getTransport_day_min() {
        return transport_day_min;
    }

    public void setTransport_day_min(int transport_day_min) {
        this.transport_day_min = transport_day_min;
    }

    public int getTransport_day_max() {
        return transport_day_max;
    }

    public void setTransport_day_max(int transport_day_max) {
        this.transport_day_max = transport_day_max;
    }

    public OrderGoodsBean() {
    }

    protected OrderGoodsBean(Parcel in) {
        id = in.readInt();
        unid = in.readString();
        logistics_id = in.readInt();
        daoda_logistics_id = in.readInt();
        deliver_sn = in.readString();
        waybill_sn = in.readString();
        status = in.readInt();
        line_id = in.readInt();
        pickup_city = in.readString();
        receive_city = in.readString();
        order_type = in.readInt();
        jiaohuo_type = in.readInt();
        peisong_type = in.readInt();
        receipt_type = in.readInt();
        deliver_type = in.readInt();
        price_type = in.readInt();
        quoted_status = in.readInt();
        pay_sn = in.readString();
        pay_type = in.readInt();
        pay_status = in.readInt();
        is_show = in.readInt();
        is_yuyue = in.readInt();
        is_invoice = in.readInt();
        last_price = in.readString();
        create_time = in.readInt();
        update_time = in.readInt();
        pickup_province = in.readString();
        pickup_county = in.readString();
        pickup_address = in.readString();
        pickup_remark = in.readString();
        pickup_truename = in.readString();
        pickup_mobile = in.readString();
        pickup_latitude = in.readString();
        pickup_longitude = in.readString();
        receive_province = in.readString();
        receive_county = in.readString();
        receive_address = in.readString();
        receive_remark = in.readString();
        receive_truename = in.readString();
        receive_mobile = in.readString();
        receive_latitude = in.readString();
        receive_longitude = in.readString();
        outlets_id = in.readInt();
        remark = in.readString();
        goods_name = in.readString();
        goods_number = in.readInt();
        goods_weight = in.readString();
        goods_volume = in.readString();
        goods_value_price = in.readString();
        pack_name = in.readString();
        pack_is_special = in.readString();
        pack_imgs = in.readString();
        pack_long = in.readString();
        pack_width = in.readString();
        pack_height = in.readString();
        status_msg = in.readString();
        isChecked = in.readByte() != 0;
        isCurrent = in.readByte() != 0;
    }

    public static final Creator<OrderGoodsBean> CREATOR = new Creator<OrderGoodsBean>() {
        @Override
        public OrderGoodsBean createFromParcel(Parcel in) {
            return new OrderGoodsBean(in);
        }

        @Override
        public OrderGoodsBean[] newArray(int size) {
            return new OrderGoodsBean[size];
        }
    };

    public int getQuoted_create_time() {
        return quoted_create_time;
    }

    public void setQuoted_create_time(int quoted_create_time) {
        this.quoted_create_time = quoted_create_time;
    }

    public String getCargo_mobile() {
        return cargo_mobile;
    }

    public void setCargo_mobile(String cargo_mobile) {
        this.cargo_mobile = cargo_mobile;
    }

    public String getQuoted_price() {
        return quoted_price;
    }

    public void setQuoted_price(String quoted_price) {
        this.quoted_price = quoted_price;
    }

    public boolean isCurrent() {
        return isCurrent;
    }

    public void setCurrent(boolean current) {
        isCurrent = current;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUnid() {
        return unid;
    }

    public void setUnid(String unid) {
        this.unid = unid;
    }

    public int getLogistics_id() {
        return logistics_id;
    }

    public void setLogistics_id(int logistics_id) {
        this.logistics_id = logistics_id;
    }

    public int getDaoda_logistics_id() {
        return daoda_logistics_id;
    }

    public void setDaoda_logistics_id(int daoda_logistics_id) {
        this.daoda_logistics_id = daoda_logistics_id;
    }

    public String getDeliver_sn() {
        return deliver_sn;
    }

    public void setDeliver_sn(String deliver_sn) {
        this.deliver_sn = deliver_sn;
    }

    public String getWaybill_sn() {
        return waybill_sn;
    }

    public void setWaybill_sn(String waybill_sn) {
        this.waybill_sn = waybill_sn;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getLine_id() {
        return line_id;
    }

    public void setLine_id(int line_id) {
        this.line_id = line_id;
    }

    public String getPickup_city() {
        return pickup_city;
    }

    public void setPickup_city(String pickup_city) {
        this.pickup_city = pickup_city;
    }

    public String getReceive_city() {
        return receive_city;
    }

    public void setReceive_city(String receive_city) {
        this.receive_city = receive_city;
    }

    public int getOrder_type() {
        return order_type;
    }

    public void setOrder_type(int order_type) {
        this.order_type = order_type;
    }

    public int getJiaohuo_type() {
        return jiaohuo_type;
    }

    public void setJiaohuo_type(int jiaohuo_type) {
        this.jiaohuo_type = jiaohuo_type;
    }

    public int getPeisong_type() {
        return peisong_type;
    }

    public void setPeisong_type(int peisong_type) {
        this.peisong_type = peisong_type;
    }

    public int getReceipt_type() {
        return receipt_type;
    }

    public void setReceipt_type(int receipt_type) {
        this.receipt_type = receipt_type;
    }

    public int getDeliver_type() {
        return deliver_type;
    }

    public void setDeliver_type(int deliver_type) {
        this.deliver_type = deliver_type;
    }

    public int getPrice_type() {
        return price_type;
    }

    public void setPrice_type(int price_type) {
        this.price_type = price_type;
    }

    public int getQuoted_status() {
        return quoted_status;
    }

    public void setQuoted_status(int quoted_status) {
        this.quoted_status = quoted_status;
    }

    public String getPay_sn() {
        return pay_sn;
    }

    public void setPay_sn(String pay_sn) {
        this.pay_sn = pay_sn;
    }

    public int getPay_type() {
        return pay_type;
    }

    public void setPay_type(int pay_type) {
        this.pay_type = pay_type;
    }

    public int getPay_status() {
        return pay_status;
    }

    public void setPay_status(int pay_status) {
        this.pay_status = pay_status;
    }

    public int getIs_show() {
        return is_show;
    }

    public void setIs_show(int is_show) {
        this.is_show = is_show;
    }

    public int getIs_yuyue() {
        return is_yuyue;
    }

    public void setIs_yuyue(int is_yuyue) {
        this.is_yuyue = is_yuyue;
    }

    public int getYuyue_time() {
        return yuyue_time;
    }

    public void setYuyue_time(int yuyue_time) {
        this.yuyue_time = yuyue_time;
    }

    public int getIs_invoice() {
        return is_invoice;
    }

    public void setIs_invoice(int is_invoice) {
        this.is_invoice = is_invoice;
    }

    public String getLast_price() {
        return last_price;
    }

    public void setLast_price(String last_price) {
        this.last_price = last_price;
    }

    public int getCreate_time() {
        return create_time;
    }

    public void setCreate_time(int create_time) {
        this.create_time = create_time;
    }

    public int getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(int update_time) {
        this.update_time = update_time;
    }

    public Object getArrival_time() {
        return arrival_time;
    }

    public void setArrival_time(Object arrival_time) {
        this.arrival_time = arrival_time;
    }

    public Object getPay_time() {
        return pay_time;
    }

    public void setPay_time(Object pay_time) {
        this.pay_time = pay_time;
    }

    public String getPickup_province() {
        return pickup_province;
    }

    public void setPickup_province(String pickup_province) {
        this.pickup_province = pickup_province;
    }

    public String getPickup_county() {
        return pickup_county;
    }

    public void setPickup_county(String pickup_county) {
        this.pickup_county = pickup_county;
    }

    public String getPickup_address() {
        return pickup_address;
    }

    public void setPickup_address(String pickup_address) {
        this.pickup_address = pickup_address;
    }

    public String getPickup_remark() {
        return pickup_remark;
    }

    public void setPickup_remark(String pickup_remark) {
        this.pickup_remark = pickup_remark;
    }

    public String getPickup_truename() {
        return pickup_truename;
    }

    public void setPickup_truename(String pickup_truename) {
        this.pickup_truename = pickup_truename;
    }

    public String getPickup_mobile() {
        return pickup_mobile;
    }

    public void setPickup_mobile(String pickup_mobile) {
        this.pickup_mobile = pickup_mobile;
    }

    public String getPickup_latitude() {
        return pickup_latitude;
    }

    public void setPickup_latitude(String pickup_latitude) {
        this.pickup_latitude = pickup_latitude;
    }

    public String getPickup_longitude() {
        return pickup_longitude;
    }

    public void setPickup_longitude(String pickup_longitude) {
        this.pickup_longitude = pickup_longitude;
    }

    public String getReceive_province() {
        return receive_province;
    }

    public void setReceive_province(String receive_province) {
        this.receive_province = receive_province;
    }

    public String getReceive_county() {
        return receive_county;
    }

    public void setReceive_county(String receive_county) {
        this.receive_county = receive_county;
    }

    public String getReceive_address() {
        return receive_address;
    }

    public void setReceive_address(String receive_address) {
        this.receive_address = receive_address;
    }

    public String getReceive_remark() {
        return receive_remark;
    }

    public void setReceive_remark(String receive_remark) {
        this.receive_remark = receive_remark;
    }

    public String getReceive_truename() {
        return receive_truename;
    }

    public void setReceive_truename(String receive_truename) {
        this.receive_truename = receive_truename;
    }

    public String getReceive_mobile() {
        return receive_mobile;
    }

    public void setReceive_mobile(String receive_mobile) {
        this.receive_mobile = receive_mobile;
    }

    public String getReceive_latitude() {
        return receive_latitude;
    }

    public void setReceive_latitude(String receive_latitude) {
        this.receive_latitude = receive_latitude;
    }

    public String getReceive_longitude() {
        return receive_longitude;
    }

    public void setReceive_longitude(String receive_longitude) {
        this.receive_longitude = receive_longitude;
    }

    public int getOutlets_id() {
        return outlets_id;
    }

    public void setOutlets_id(int outlets_id) {
        this.outlets_id = outlets_id;
    }

    public Object getOutlets_name() {
        return outlets_name;
    }

    public void setOutlets_name(Object outlets_name) {
        this.outlets_name = outlets_name;
    }

    public Object getOutlets_province() {
        return outlets_province;
    }

    public void setOutlets_province(Object outlets_province) {
        this.outlets_province = outlets_province;
    }

    public Object getOutlets_city() {
        return outlets_city;
    }

    public void setOutlets_city(Object outlets_city) {
        this.outlets_city = outlets_city;
    }

    public Object getOutlets_county() {
        return outlets_county;
    }

    public void setOutlets_county(Object outlets_county) {
        this.outlets_county = outlets_county;
    }

    public Object getOutlets_address() {
        return outlets_address;
    }

    public void setOutlets_address(Object outlets_address) {
        this.outlets_address = outlets_address;
    }

    public Object getOutlets_contact() {
        return outlets_contact;
    }

    public void setOutlets_contact(Object outlets_contact) {
        this.outlets_contact = outlets_contact;
    }

    public Object getOutlets_moble() {
        return outlets_moble;
    }

    public void setOutlets_moble(Object outlets_moble) {
        this.outlets_moble = outlets_moble;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Object getRefuse_notice() {
        return refuse_notice;
    }

    public void setRefuse_notice(Object refuse_notice) {
        this.refuse_notice = refuse_notice;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public Object getGoods_remark() {
        return goods_remark;
    }

    public void setGoods_remark(Object goods_remark) {
        this.goods_remark = goods_remark;
    }

    public int getGoods_number() {
        return goods_number;
    }

    public void setGoods_number(int goods_number) {
        this.goods_number = goods_number;
    }

    public String getGoods_weight() {
        return goods_weight;
    }

    public void setGoods_weight(String goods_weight) {
        this.goods_weight = goods_weight;
    }

    public String getGoods_volume() {
        return goods_volume;
    }

    public void setGoods_volume(String goods_volume) {
        this.goods_volume = goods_volume;
    }

    public String getGoods_value_price() {
        return goods_value_price;
    }

    public void setGoods_value_price(String goods_value_price) {
        this.goods_value_price = goods_value_price;
    }

    public String getPack_name() {
        return pack_name;
    }

    public void setPack_name(String pack_name) {
        this.pack_name = pack_name;
    }

    public Object getPack_remark() {
        return pack_remark;
    }

    public void setPack_remark(Object pack_remark) {
        this.pack_remark = pack_remark;
    }

    public String getPack_is_special() {
        return pack_is_special;
    }

    public void setPack_is_special(String pack_is_special) {
        this.pack_is_special = pack_is_special;
    }

    public String getPack_imgs() {
        return pack_imgs;
    }

    public void setPack_imgs(String pack_imgs) {
        this.pack_imgs = pack_imgs;
    }

    public String getPack_long() {
        return pack_long;
    }

    public void setPack_long(String pack_long) {
        this.pack_long = pack_long;
    }

    public String getPack_width() {
        return pack_width;
    }

    public void setPack_width(String pack_width) {
        this.pack_width = pack_width;
    }

    public String getPack_height() {
        return pack_height;
    }

    public void setPack_height(String pack_height) {
        this.pack_height = pack_height;
    }

    public String getStatus_msg() {
        return status_msg;
    }

    public void setStatus_msg(String status_msg) {
        this.status_msg = status_msg;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(@NonNull Parcel parcel, int i) {
        parcel.writeInt(id);
        parcel.writeString(unid);
        parcel.writeInt(logistics_id);
        parcel.writeInt(daoda_logistics_id);
        parcel.writeString(deliver_sn);
        parcel.writeString(waybill_sn);
        parcel.writeInt(status);
        parcel.writeInt(line_id);
        parcel.writeString(pickup_city);
        parcel.writeString(receive_city);
        parcel.writeInt(order_type);
        parcel.writeInt(jiaohuo_type);
        parcel.writeInt(peisong_type);
        parcel.writeInt(receipt_type);
        parcel.writeInt(deliver_type);
        parcel.writeInt(price_type);
        parcel.writeInt(quoted_status);
        parcel.writeString(pay_sn);
        parcel.writeInt(pay_type);
        parcel.writeInt(pay_status);
        parcel.writeInt(is_show);
        parcel.writeInt(is_yuyue);
        parcel.writeInt(is_invoice);
        parcel.writeString(last_price);
        parcel.writeInt(create_time);
        parcel.writeInt(update_time);
        parcel.writeString(pickup_province);
        parcel.writeString(pickup_county);
        parcel.writeString(pickup_address);
        parcel.writeString(pickup_remark);
        parcel.writeString(pickup_truename);
        parcel.writeString(pickup_mobile);
        parcel.writeString(pickup_latitude);
        parcel.writeString(pickup_longitude);
        parcel.writeString(receive_province);
        parcel.writeString(receive_county);
        parcel.writeString(receive_address);
        parcel.writeString(receive_remark);
        parcel.writeString(receive_truename);
        parcel.writeString(receive_mobile);
        parcel.writeString(receive_latitude);
        parcel.writeString(receive_longitude);
        parcel.writeInt(outlets_id);
        parcel.writeString(remark);
        parcel.writeString(goods_name);
        parcel.writeInt(goods_number);
        parcel.writeString(goods_weight);
        parcel.writeString(goods_volume);
        parcel.writeString(goods_value_price);
        parcel.writeString(pack_name);
        parcel.writeString(pack_is_special);
        parcel.writeString(pack_imgs);
        parcel.writeString(pack_long);
        parcel.writeString(pack_width);
        parcel.writeString(pack_height);
        parcel.writeString(status_msg);
        parcel.writeByte((byte) (isChecked ? 1 : 0));
        parcel.writeByte((byte) (isCurrent ? 1 : 0));
    }
}
